← Back
OSC Ambient
Directive.spawn_task [intermediate]Host-terminal desktop notification, taskbar progress, and pointer shape
Host-terminal desktop notification, taskbar progress, and pointer shape
For the full interactive experience:
$ mix raxol.playground
Code
defp progress_command(model) do
state = progress_state(model.status)
Directive.spawn_task(fn ->
IO.write(AdvancedFeatures.report_progress(state, model.progress))
:ok
end)
end